package com.songlanyun.modules.usercard.mobel;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserCardConfirmDto implements ValueObject {

    /**
     * 短信验证码 String(6)
     */
    @NotBlank(message = "请填写短信验证码")
    @Length(min = 4, max = 6, message = "短信验证码4-6位")
    private String smsCode;


    private Long id;
}
